﻿using System;
using System.Runtime.CompilerServices;

namespace Quicklight.Mobile.Cordova.Accelerometer {

   [ScriptNamespace("navigator")]
   [ScriptName("accelerometer")]
   public static class Accelerometer {

      [ScriptName("getCurrentAcceleration")]
      public static void GetCurrentAcceleration(AccelerometerSuccessCallback accelerometerSuccess, AccelerometerErrorCallback accelerometerError) {
      }

      /// <todo>The return type for function WatchAcceleration could not be determined from the documentation. This should be improved</todo>
      [ScriptName("watchAcceleration")]
      public static object WatchAcceleration(AccelerometerSuccessCallback accelerometerSuccess, AccelerometerErrorCallback accelerometerError, AccelerometerOptions accelerometerOptions) {
         return null;
      }

      /// <todo>The parameter type for function ClearWatch could not be determined from the documentation. This should be improved</todo>
      [ScriptName("clearWatch")]
      public static void ClearWatch(object watchID) {
      }
   }
}
